package test1;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;


import org.junit.Test;

public class testboke02 {

	@Test
	public void test() {
		String FILENAME = "test.txt";
		BufferedReader br = null;
		try {
			 br = new BufferedReader(new FileReader(new File(FILENAME)));
			while(br.readLine()!=null){};
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}finally{
			try {
				br.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}

}
